#ifndef DISPLAY_WINDOW_H
#define DISPLAY_WINDOW_H

#include <QtGui/QWidget>
#include "GraphDisplay.h"

namespace GUI
{
	class DisplayWindow : public GraphDisplay
	{
	public:
		DisplayWindow();
		virtual ~DisplayWindow();

		DisplayWindow& SetTitle( const std::string& );
		const std::string& Title() const;
 		DisplayWindow& SetLeft( int );
 		int Left() const;
 		DisplayWindow& SetTop( int );
 		int Top() const;
 		DisplayWindow& SetWidth( int );
 		int Width() const;
 		DisplayWindow& SetHeight( int );
 		int Height() const;
 		DisplayWindow& Show();
 		DisplayWindow& Hide();
		bool Visible() const;
	private:
		DisplayWindow& Restore();
		DisplayWindow& Clear();
		DisplayWindow& UpdateContext();

		std::string		mTitle;
		int				mTop,
						mLeft,
						mWidth,
						mHeight;
		QWidget*		mpForm;
	};
}
#endif